/**
 * Created by dukes on 2015/12/22.
 */
class TotalRechargeTabButton extends eui.Component{
    public constructor(){
        super();
        this.skinName = "skins.scene.elements.TotalRechargeTabSkin";
    }
    private lv:eui.BitmapLabel;
    public partAdded(name:string, instance:any){
        super.partAdded(name, instance);
        if( name == "lv"){
            this.lv = instance;
        }
    }

    public childrenCreated(){
        super.childrenCreated();
        // this.lv.text = (this.itemIndex+1)+"";
    }
}